﻿using System;
namespace Chenxin.Lib.House.Entity
{
    /// <summary>
    /// 实体类DocumentNew 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class DocumentNew
    {
        public DocumentNew()
        { }
        #region Model
        private Guid _documentid;
        private int? _documenttype;
        private string _title;
        private string _body;
        private string _attachmentname;
        private string _attachmentfilename;
        private byte[] _attachmentbody;
        private string _attachmenttype;
        private int? _attachmentsize;
        private DateTime? _pubdate;
        private DateTime? _createdate;
        private Guid _pubuserid;
        private string _pubuserno;
        private bool _deleteflag;
        private string _rcvdepartment;
        private string _categoryid;
        private bool _ispublic;
        private bool _iseveryone;
        private bool _isnewwindow;
        private Guid _senddepartmentid;
        private Guid _cityid;
        /// <summary>
        /// 
        /// </summary>
        public Guid DocumentId
        {
            set { _documentid = value; }
            get { return _documentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? DocumentType
        {
            set { _documenttype = value; }
            get { return _documenttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Body
        {
            set { _body = value; }
            get { return _body; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AttachmentName
        {
            set { _attachmentname = value; }
            get { return _attachmentname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AttachmentFileName
        {
            set { _attachmentfilename = value; }
            get { return _attachmentfilename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public byte[] AttachmentBody
        {
            set { _attachmentbody = value; }
            get { return _attachmentbody; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AttachmentType
        {
            set { _attachmenttype = value; }
            get { return _attachmenttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? AttachmentSize
        {
            set { _attachmentsize = value; }
            get { return _attachmentsize; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? PubDate
        {
            set { _pubdate = value; }
            get { return _pubdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid PubUserId
        {
            set { _pubuserid = value; }
            get { return _pubuserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PubUserNo
        {
            set { _pubuserno = value; }
            get { return _pubuserno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool DeleteFlag
        {
            set { _deleteflag = value; }
            get { return _deleteflag; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RcvDepartment
        {
            set { _rcvdepartment = value; }
            get { return _rcvdepartment; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CategoryId
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsPublic
        {
            set { _ispublic = value; }
            get { return _ispublic; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsEveryone
        {
            set { _iseveryone = value; }
            get { return _iseveryone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsNewWindow
        {
            set { _isnewwindow = value; }
            get { return _isnewwindow; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid SendDepartmentId
        {
            set { _senddepartmentid = value; }
            get { return _senddepartmentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        #endregion Model

    }
}

